package com.wedu.modules.dss.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 运行状态表（灯表）
 * </p>
 *
 * @author jdw
 * @since 2025-03-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("dss_operation_status")
public class DssOperationStatusEntity implements Serializable {

    private static final long serialVersionUID = 1L;


    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 设备编号
     */
    @TableField(value="device_id")
    @ApiModelProperty(value = "设备编号")
    private Long deviceId;
    /**
     * 灯的状态 绿1 黄0 红-1
     */
    @TableField(value="light_status")
    @ApiModelProperty(value = "灯的状态 绿1 黄0 红-1")
    private Integer lightStatus;
    /**
     * 开始亮灯时间
     */
    @TableField(value="light_start")
    @ApiModelProperty(value = "开始亮灯时间")
    private Date lightStart;
    /**
     * 结束亮灯时间
     */
    @TableField(value="light_over")
    @ApiModelProperty(value = "结束亮灯时间")
    private Date lightOver;


}
